package gr.unipi.cinema;

import java.util.Calendar;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class MovieData {
	private int id;
	private String name;
	private String secondName;
	private Calendar productionDate;
	private String description;
	private String origin;
	private int duration;
	private String imageLink;
	private int state;
	
	
	public MovieData(int id, String name, String secondName,
			Calendar productionDate, String description, String origin,
			int duration, String imageLink, int state) {
		super();
		this.id = id;
		this.name = name;
		this.secondName = secondName;
		this.productionDate = productionDate;
		this.description = description;
		this.origin = origin;
		this.duration = duration;
		this.imageLink = imageLink;
		this.state = state;
	}
	
	public MovieData() {
		super();
		
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getSecondName() {
		return secondName;
	}


	public void setSecondName(String secondName) {
		this.secondName = secondName;
	}


	public Calendar getProductionDate() {
		return productionDate;
	}


	public void setProductionDate(Calendar productionDate) {
		this.productionDate = productionDate;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public String getOrigin() {
		return origin;
	}


	public void setOrigin(String origin) {
		this.origin = origin;
	}


	public int getDuration() {
		return duration;
	}


	public void setDuration(int duration) {
		this.duration = duration;
	}


	public String getImageLink() {
		return imageLink;
	}


	public void setImageLink(String imageLink) {
		this.imageLink = imageLink;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}
	
	
}
